<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>Simple JavaScript Application</title>
  <!-- (1) Load library scripts, courtesy of Yahoo! YUI. -->
  <script src="http://yui.yahooapis.com/2.6.0/build/yahoo-dom-event/yahoo-dom-event.js" type="text/javascript"></script>
  <script src="http://yui.yahooapis.com/2.6.0/build/element/element-beta-min.js" type="text/javascript"></script>
  <!-- (2) Custom script to initialize the page. -->
  <script src="hello-world-2.js" type="text/javascript"></script>
</head>
<body>
  <!-- (2) Render a button control. -->
  <input id="hello-button" type="button" value="Say Hello World!" />
  <br /><br />
  <!-- (4) Provide a message area. --> 
  <div id="hello-div"></div>
  <!-- (5) Initialize the page. --> 
  <script type="text/javascript">
    var elButton = new YAHOO.util.Element('hello-button');
    var elDiv = YAHOO.util.Dom.get("hello-div");
    helloWorldInit(elButton, elDiv);
  </script>
  </body>
</html> 
